package com.legrand.www.module.core.response;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xiah
 * date 2018/4/26 16:01
 */
@Data
@AllArgsConstructor
public class BaseResponse<T> implements Serializable {
    private static final long serialVersionUID = -52359749850L;
    private String success = "true";
    private String message = "success";
    private Object result;

    public BaseResponse(Object result) {
        this.result = result;
    }
}
